package com.ruoyi.attachedRecord.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 检测记录对象 gc_attached_record
 *
 * @author ruoyi
 * @date 2025-05-19
 */
@ApiModel
public class AttachedRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty(value = "${comment}")
    private Long id;

    /** attched_data_id */
    @Excel(name = "attched_data_id")
    @ApiModelProperty(value = "attched_data_id")
    private Long attachedDataId;

    /** 工程id */
    @Excel(name = "工程id")
    @ApiModelProperty(value = "工程id")
    private Long engineeringId;

    /** 委托单id */
    @Excel(name = "委托单id")
    @ApiModelProperty(value = "委托单id")
    private Long commissionId;

    /** 状态 */
    @Excel(name = "状态")
    @ApiModelProperty(value = "状态")
    private Long status;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "开始时间")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "结束时间")
    private Date endTime;

    /** 试验项目 */
    @Excel(name = "试验项目")
    @ApiModelProperty(value = "试验项目")
    private String testProject;

    /** 试验仪器 */
    @Excel(name = "试验仪器")
    @ApiModelProperty(value = "试验仪器")
    private String testInstrument;

    /** 试验数量 */
    @Excel(name = "试验数量")
    @ApiModelProperty(value = "试验数量")
    private String testNumber;

    /** 打卡照片 */
    @Excel(name = "打卡照片")
    @ApiModelProperty(value = "打卡照片")
    private String clockinFile;

    /** 数据文件 */
    @Excel(name = "数据文件")
    @ApiModelProperty(value = "数据文件")
    private String dataFile;

    private String userName;

    private String wtNumber;

    private String amount;

    private String engineeringName;

    private String testMethod;

    private String chargePerson;

    private String userId;

    public String getOriginalNumber() {
        return originalNumber;
    }

    public void setOriginalNumber(String originalNumber) {
        this.originalNumber = originalNumber;
    }

    private String originalNumber;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getWtNumber() {
        return wtNumber;
    }

    public void setWtNumber(String wtNumber) {
        this.wtNumber = wtNumber;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getEngineeringName() {
        return engineeringName;
    }

    public void setEngineeringName(String engineeringName) {
        this.engineeringName = engineeringName;
    }

    public String getTestMethod() {
        return testMethod;
    }

    public void setTestMethod(String testMethod) {
        this.testMethod = testMethod;
    }

    public String getChargePerson() {
        return chargePerson;
    }

    public void setChargePerson(String chargePerson) {
        this.chargePerson = chargePerson;
    }

    public String getUserName()
    {
        return userName;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }


    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setAttachedDataId(Long attachedDataId)
    {
        this.attachedDataId = attachedDataId;
    }

    public Long getAttachedDataId()
    {
        return attachedDataId;
    }
    public void setEngineeringId(Long engineeringId)
    {
        this.engineeringId = engineeringId;
    }

    public Long getEngineeringId()
    {
        return engineeringId;
    }
    public void setCommissionId(Long commissionId)
    {
        this.commissionId = commissionId;
    }

    public Long getCommissionId()
    {
        return commissionId;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }
    public void setStartTime(Date startTime)
    {
        this.startTime = startTime;
    }

    public Date getStartTime()
    {
        return startTime;
    }
    public void setEndTime(Date endTime)
    {
        this.endTime = endTime;
    }

    public Date getEndTime()
    {
        return endTime;
    }
    public void setTestProject(String testProject)
    {
        this.testProject = testProject;
    }

    public String getTestProject()
    {
        return testProject;
    }
    public void setTestInstrument(String testInstrument)
    {
        this.testInstrument = testInstrument;
    }

    public String getTestInstrument()
    {
        return testInstrument;
    }
    public void setTestNumber(String testNumber)
    {
        this.testNumber = testNumber;
    }

    public String getTestNumber()
    {
        return testNumber;
    }
    public void setClockinFile(String clockinFile)
    {
        this.clockinFile = clockinFile;
    }

    public String getClockinFile()
    {
        return clockinFile;
    }
    public void setDataFile(String dataFile)
    {
        this.dataFile = dataFile;
    }

    public String getDataFile()
    {
        return dataFile;
    }



    private String briefingFile;
    public void setBriefingFile(String briefingFile) {
        this.briefingFile = briefingFile;
    }
    public String getBriefingFile()
    {
        return briefingFile;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("attachedDataId", getAttachedDataId())
            .append("engineeringId", getEngineeringId())
            .append("commissionId", getCommissionId())
            .append("delUser", getDelUser())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("delState", getDelState())
            .append("delType", getDelType())
            .append("delTime", getDelTime())
            .append("createBy", getCreateBy())
            .append("createType", getCreateType())
            .append("updateBy", getUpdateBy())
            .append("updateType", getUpdateType())
            .append("status", getStatus())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("testProject", getTestProject())
            .append("testInstrument", getTestInstrument())
            .append("testNumber", getTestNumber())
            .append("clockinFile", getClockinFile())
            .append("dataFile", getDataFile())
            .toString();
    }
}
